const files = import.meta.globEager('./locale/**/*.ts')
const obj = {}
for (const key in files) {
  obj[key.replace(/(\.\/locale\/|\.ts)/g, '')] = files[key].default
}
export default obj